
layui.use(['layer','laydate'], function(){

});

var wnAbLineConsoleGrid =new consoleGrid({table_id:"wnAbLine"});
wnAbLineConsoleGrid.init();
function wnAbLineTableOperate(value){
return "<button type='button' class='btn btn-xs btn-default command-edit' onclick='consoleOpenWindow(\"wnAbLine\",\"/console/wn_ab_line/edit?id="+value+"\",\"编辑\")'><span class='glyphicon glyphicon-pencil'></span></button> ";
}
function wnAbLineLoadParam(params){
params.query=wnAbLineQueryString();
return params;
}
function wnAbLineQueryString() {
var objQuery = new Object();
    objQuery.aLat=$('#aLat').val()==''?null:$('#aLat').val(); 
     objQuery.aLng=$('#aLng').val()==''?null:$('#aLng').val(); 
     objQuery.aHeight=$('#aHeight').val()==''?null:$('#aHeight').val(); 
     objQuery.bLat=$('#bLat').val()==''?null:$('#bLat').val(); 
     objQuery.bLng=$('#bLng').val()==''?null:$('#bLng').val(); 
     objQuery.bHeight=$('#bHeight').val()==''?null:$('#bHeight').val(); 
     objQuery.terminalSign=$('#terminalSign').val()==''?null:$('#terminalSign').val(); 
     objQuery.name=$('#name').val()==''?null:$('#name').val(); 
     objQuery.farmlandSign=$('#farmlandSign').val()==''?null:$('#farmlandSign').val(); 
 
var queryString = JSON.stringify(objQuery);
return queryString;
}

